package com.example.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.entity.RolesModulesEntity;
import com.example.mapper.RolesModulesMapper;
import com.example.service.RolesModulesService;

@Service
public class RolesModulesServiceImpl implements RolesModulesService{

	@Autowired
	private RolesModulesMapper rmMapper;
	
	@Override
	public int addRM(RolesModulesEntity rme) {
		// TODO Auto-generated method stub
		return rmMapper.addRM(rme);
	}

	@Override
	public int delRM(Integer roleid) {
		// TODO Auto-generated method stub
		return rmMapper.delRM(roleid);
	}

}
